package com.itshi.demo1;
import java.util.Scanner;
import java.util.Random;
/**
 * @author YS
 * @date 2021/7/3
 */

public class DEMO3<i> {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = sc.nextInt();
        int[] arr = new int[week];
        int count=0;
        Random r = new Random();
        for(int i = 0; i < arr.length;i++){
            int a=r.nextInt(5) +1;
            arr[i] = a;
        }
        for(int i = 0; i < arr.length; i++){
            if(week == arr[i]){
                count++;
            }
        }
        System.out.println("你要查找的数出现了"+count+"次");
    }


}
